package org.tsinghua.vaccine.entity;

import org.springframework.data.annotation.Id;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ipenta
 * @ClassName: Vaccine
 * @Description: TODO
 * @date 2017-09-19 下午4:41
 */
public class Vaccine {

	@Id
	private String id;

	private String code;

	private String companyNo;

	private String batchCode;

	private String boxNo;//包装箱 ID

	private String pkgNo;//分装箱 ID

	private List<Circulation> circulations = new ArrayList<>();
	private List<Inoculation> inoculations = new ArrayList<>();

	protected Vaccine(){}

	public Vaccine(String id,String code,String companyNo,String batchCode,String boxNo,String pkgNo){
		this.id = id;
		this.code = code;
		this.companyNo = companyNo;
		this.batchCode = batchCode;
		this.boxNo = boxNo;
		this.pkgNo = pkgNo;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCompanyNo() {
		return companyNo;
	}

	public void setCompanyNo(String companyNo) {
		this.companyNo = companyNo;
	}

	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	public String getBoxNo() {
		return boxNo;
	}

	public void setBoxNo(String boxNo) {
		this.boxNo = boxNo;
	}

	public String getPkgNo() {
		return pkgNo;
	}

	public void setPkgNo(String pkgNo) {
		this.pkgNo = pkgNo;
	}

	public List<Circulation> getCirculations() {
		return circulations;
	}

	public void setCirculations(List<Circulation> circulations) {
		this.circulations = circulations;
	}

	public List<Inoculation> getInoculations() {
		return inoculations;
	}

	public void setInoculations(List<Inoculation> inoculations) {
		this.inoculations = inoculations;
	}
}
